package com.bjpowernode.map;
import java.util.HashMap;
//各个模块SQL字段重复报错
public class MySQLErrorMap {
    public static final String NEWSTYPE_ADD_NAME="/admin/newsType/add.action#name";
    public static final String NEWSTYPE_EDIT_NAME="/admin/newsType/edit.action#name";
    public static final String NEWS_ADD_NAME="/admin/news/add.action#name";

    public static HashMap<String, String> SQLDuplicateMap = new HashMap<String,String>(){{
        put(NEWSTYPE_ADD_NAME,"新闻类型添加的时候名称重复");
        put(NEWSTYPE_EDIT_NAME,"新闻类型修改的时候名称重复");
        put(NEWS_ADD_NAME,"新闻名称添加的时候重复");
    }};





}
